package edu.yuhf.dao.iface;

import java.util.List;

import edu.yuhf.domain.Emp;

public interface EmpDao {
	public List<Emp> queryAll();
	public List<Emp> queryByName(String name);
	public boolean insertEmp(Emp emp);
	public boolean updateEmp(int empno,Emp emp);
	public boolean delete(int empno);
	boolean checkNameAndPassword(String name, String password);
	boolean update(Emp emp);
}
